package com.yuzhenxin.coursesystem.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yuzhenxin.coursesystem.controller.selection.vo.SelectionQueryReqVO;
import com.yuzhenxin.coursesystem.entity.SelectionDO;

import java.util.List;
import java.util.Map;

public interface SelectionService extends IService<SelectionDO> {

    IPage<SelectionDO> selectPage(SelectionQueryReqVO reqDto);

    List<Map<String, Object>> selectStudentCount(int current, int limit);

    List<Map<String, Object>> selectCourseCount(int current, int limit);

    List<Map<String, Object>> selectByStudentNumber(Integer studentNumber);

    List<Map<String, Object>> selectList();

    void selectCourse(Long studentId, Long scheduleId);

    void remove(List<Integer> selectionIdList);
}
